/**
 * 
 */


//出错提示
function showError(title,message,callback){
	$.messager.alert(title,message,'error',callback);
}

//一般提示
function showInfo(title,message,callback){
	$.messager.alert(title,message,'info',callback);
}

//警告提示
function showWarning(title,message,callback){
	$.messager.alert(title,message,'warning',callback);
}

//询问提示,OK-cancel按钮, 点击OK返回true ,否则false
function showConfirm(title,message){
	var bOk = false;
	$.messager.confirm(title, message, function(r){
	    if (r){
	      bOK = r;
	    }
	});
	
	return bOk;
}